<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/displaytag.tld" prefix="display"%>
<%@ page contentType="text/html;charset=utf-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Activar Valores</title>
<link href="../../css/jdeveloper.css" rel="stylesheet" media="screen" />
<link href="<%= request.getContextPath() + "/css/bloques.css" %>"
	rel="stylesheet" type="text/css">

<script type="text/javascript">
  function enviar(locacion1)
  {
    document.frmregresar.action=locacion1;
    document.frmregresar.submit();
  }
  
</script>

</head>
<body>

	<form name="frmregresar" method="get">

		<logic:present name="ListaPermisos" scope="request">
			<div align="center" class="titulosenblanco">CONSULTA DE
				PERMISOS</div>
			<br />
			<br />
			<div align="center">
				<table style="width: 80%;">
					<logic:iterate id="usu" scope="request" length="1"
						name="ListaUsuario"
						type="co.gov.medellin.ssti.sub.paoyer.administration.model.vo.UserVO">
						<tr>
							<td width="9%" class="celdatabla"><STRONG>USUARIO:</STRONG>
							</td>
							<td width="18%">
								<div class="form">
									<bean:write name="usu" property="name" />
								</div>
							</td>
							<td align="center" width="16%" class="celdatabla"><STRONG>DESCRIPCION:</STRONG>
							</td>
							<td width="40%">
								<div class="form">
									<bean:write name="usu" property="description" />
								</div>
							</td>
							<td width="6%">&nbsp;</td>
						</tr>
					</logic:iterate>
				</table>
				<br />
			</div>

			<div align="center">
				<table
					style="width: 80%; border: 0; padding: 2px; border-spacing: 3px;">
					<tr>
						<td><display:table name="requestScope.ListaPermisos"
								id="consulta" cellpadding="3" cellspacing="1" style="width:100%"
								class="bordestable">
								<display:column headerClass="headerTable" title="PROGRAMA"
									class="Numero" property="nombrePrograma" sortable="true"></display:column>
								<display:column headerClass="headerTable" title="BENEFICIO"
									class="Numero" property="nombre" sortable="true"></display:column>
							</display:table></td>
					</tr>
				</table>
			</div>
		</logic:present>
		<logic:notPresent name="ListaPermisos" scope="request">
			<DIV align="left" class="titulosenblanco"><%=request.getAttribute("msmerror")%></DIV>
		</logic:notPresent>

		<%String Ruta2 = "'"+request.getContextPath() + "/admin/manageUsers.do'";%>
		<br />
		<div align="center">
			<input type="image" onclick="enviar(<%=Ruta2%>)"
				src="<%= request.getContextPath() + "/images/b_atras.gif"%>" />
		</div>
	</form>
</body>
</html>
